import type { CommonReturn, CommonReturnListItem } from '../schema/all'
export type ConditionQuery = CommonReturn<'/api/waf/condition/query', 'get'>
export type WafListItem = CommonReturnListItem<'/api/waf/query', 'get'>
export type WafBindNodeIds = CommonReturn<'/api/waf/bind-node/list', 'get'>
export type wafRuleDetails = Omit<
  CommonReturn<'/api/waf', 'get'>,
  'module_config'
> & {
  module_config?: {
    cycle?: string
    count?: number
    duration?: string
    skip_module?: number[]
  }
}
